package com.googlecode.gwtbb.server.dao.forum;

import com.googlecode.gwtbb.client.shared.entity.forum.Post;
import com.googlecode.gwtbb.server.dao.Dao;

import java.util.List;

/**
 * @author Abraham Grief
 * @version $Id$
 * @since May 4, 2008
 */
public interface PostDao extends Dao<Post> {
	List<Post> selectPostsByThreadId(Long threadId);

	List<Post> selectThreadsByForumId(Long forumId);
}